import React, { Component } from 'react'
import Rcc from './Rcc'
import Rfc from './Rfc'
export default class App extends Component {
  render() {
    return (
      <div>
        <h1>App</h1>
        {/* <Rcc click={(data) => this.getSonData(data)} />
        <Rfc click={(data) => this.getSonData(data)} /> */}
        <Rcc click={(data) => this.getSonData(data)} />
        <Rfc click={(data) => this.getSonData(data)} />
      </div>
    )
  }

  getSonData(data) {
    console.log(data)
  }
}
